'use strict'

var Sequelize = require('sequelize');
var sequelize = require('../db');

var invite = sequelize.define('invite', {
    title: {
        type: Sequelize.STRING(4000),
        allowNull: false
    },
    company: {
        type: Sequelize.STRING(4000),
        allowNull: false
    },
    region: {
        type: Sequelize.STRING(4000),
        allowNull: false
    },
    salary: {
        type: Sequelize.STRING(4000),
        allowNull: false
    },
    time: {
        type: Sequelize.STRING(4000),
        allowNull: false
    }
});

module.exports = invite;